package com.mall.huohuo.service.advertise.service;

import com.mall.huohuo.service.advertise.domain.CreateAdvertiseResult;
import com.mall.huohuo.service.advertise.domain.UpdateAdvertiseResult;
import com.mall.huohuo.service.advertise.param.CreateAdvertiseParam;
import com.mall.huohuo.service.advertise.param.UpdateAdvertiseParam;

/**
 * @author yuanyuan.zhu
 * @version AdvertiseWriteService.java, v 0.1 2020-09-01 18:10 yuanyuan.zhu
 */
public interface AdvertiseWriteService {

    /**
     * 创建广告
     *
     * @param createAdvertiseParam 创建广告请求参数
     * @return 创建广告结果
     */
    CreateAdvertiseResult createAdvertise(CreateAdvertiseParam createAdvertiseParam);

    /**
     * 更新广告
     *
     * @param updateAdvertiseParam 更新广告请求参数
     * @return 更新广告的结果
     */
    UpdateAdvertiseResult updateAdvertise(UpdateAdvertiseParam updateAdvertiseParam);


}
